package cn.wolfcode.crm.domain;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class SystemDictionary {
    private Long id;
    //编码
    private String sn;
    //标题
    private String title;
    //简介
    private String intro;

    public String getJson(){
        Map map = new HashMap();
        map.put("id",id);
        map.put("title",title);
        map.put("sn",sn);
        map.put("intro",intro);
        return JSON.toJSONString(map);
    }
}